package com.moneytree.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

import org.hibernate.annotations.NaturalId;
@Entity
public class Referer {
	private String username;
	private String referername;
	private Date date;
	@Id @NaturalId
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getReferername() {
		return referername;
	}
	public void setReferername(String referername) {
		this.referername = referername;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	
}
